package com.atguigu.gmall.seckill.mapper;

import com.atguigu.gmall.model.activity.SeckillGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lfy
* @description 针对表【seckill_goods】的数据库操作Mapper
* @createDate 2022-03-26 09:41:31
* @Entity com.atguigu.gmall.seckill.domain.SeckillGoods
*/
public interface SeckillGoodsMapper extends BaseMapper<SeckillGoods> {

    /**
     * 查出今天所有参与秒杀的商品
     * @param date
     * @return
     */
    List<SeckillGoods> selectTodaySeckillGoods(@Param("date") String date);
}




